package com.iterator.service.wechat.order;

import com.iterator.bean.web.pojo.zql.InfoData;
import com.iterator.bean.wechat.order.bo.CommentOrderBO;
import com.iterator.bean.wechat.order.bo.SubmitOrderBO;
import com.iterator.bean.wechat.order.pojo.WxOrderGoods;
import com.iterator.bean.wechat.order.vo.WxOrderDetailVO;
import com.iterator.bean.wechat.order.vo.OrderListDataVO;
import com.iterator.bean.wechat.wy.address.AddressDetailVO;

import java.util.List;
import java.util.Map;

/**
 * @Author : L
 * @ProjectName : project-2
 * @Date : 1/12/2021
 * @Description :
 */
public interface WxOrderService {

    //    Integer submitOrder(SubmitOrderBO submitOrderBO);
    Integer createOrder(SubmitOrderBO submitOrderBO, AddressDetailVO address);
    List<OrderListDataVO> queryOrderListByShowType(Integer showType, Integer page, Integer size);
    WxOrderDetailVO queryOrderDetailById(Integer orderId);
    Integer cancelOrderById(Integer orderId);
    Integer refundOrderById(Integer orderId);
    Integer deleteOrderById(Integer orderId);
    Integer prepayOrderById(Integer orderId);
    Integer confirmOrderById(Integer orderId);
    List<WxOrderGoods> queryOrderGoods(Integer orderId, Integer goodsId);
    Integer commentOrder(CommentOrderBO commentOrderBO);
}
